package com.logic.landseaserver.persistence.read;

import java.util.HashMap;
import java.util.List;

import com.logic.common.util.QueryUtil;
import com.logic.landseaserver.domain.Activity;
import com.logic.landseaserver.ws.dto.ActivityDTO;
/**
 * @Author: jack
 * @Date: 2017/5/4
 * @Description: 活动接口类
 */
public interface ActivityReadMapper {

    Activity selectByPrimaryKey(Integer id);

	List<ActivityDTO> getActivityDTOList(QueryUtil queryUtil);
	
	String getValueByCode(String code);

	ActivityDTO getActivityDetail(Integer activityId);
	
	List<ActivityDTO> getActivityForFlag(HashMap map);
	
	List<ActivityDTO> selectByImage(String image);
	
//	List<ActivityDTO> selectByFlag(java.lang.String flag);
	
	List<ActivityDTO> selectByFlag(HashMap map);

    Activity selectActivity3(String flag1);

    Activity selectByFlagAndPublished(String flag);

	
}